package com.test3.dao;

import com.test3.entity.User;
import jakarta.annotation.Resource;
import org.apache.ibatis.annotations.Select;
import org.springframework.jdbc.core.JdbcTemplate;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.Mapper;
import java.util.List;


@Repository
public interface UserDao extends Mapper<User>{

    @Select("select * from user")
    List<User> getUser();
}
